package com.cashmama.market.api.infras.enums;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2019-12-23
 * Time: 16:23
 */
public enum AuthOptionsEnums implements ProfileInputBaseEnum {
    NO(-1, "不存在", null),
    GENDER(0, "gender", GenderEnums.values()),
    USAGE(1, "usage", LoanPurposeEnums.values()),
    LANGUAGE(2, "language", LanguageEnums.values()),
    MARRIAGE(3, "marriage", UserMarriageEnum.values()),
    UserContactFamilyType(4, "userContactFamilyTypeEnum", UserContactFamilyTypeEnum.values()),
    EDUCATION(5, "education", EducationEnums.values()),
    BANK(7, "BANK", BankEnum.values()),
    WORK_TYPE(8, "WORK_TYPE", WorkTypeEnums.values()),
    SALARY_RANGE(9, "SALARY_RANGE", UserSalaryEnums.values()),
    INDUSTRY_TYPE(10, "INDUSTRY_TYPE", IndustryEnums.values());

    private Integer type;

    private String desc;

    private ProfileInputBaseEnum[] profileInputBaseEnum;

    AuthOptionsEnums(Integer type, String desc, ProfileInputBaseEnum[] profileInputBaseEnum) {
        this.type = type;
        this.desc = desc;
        this.profileInputBaseEnum = profileInputBaseEnum;
    }

    public ProfileInputBaseEnum[] getProfileInputBaseEnum() {
        return profileInputBaseEnum;
    }

    public AuthOptionsEnums setProfileInputBaseEnum(ProfileInputBaseEnum[] profileInputBaseEnum) {
        this.profileInputBaseEnum = profileInputBaseEnum;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public AuthOptionsEnums setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public AuthOptionsEnums setDesc(String desc) {
        this.desc = desc;
        return this;
    }}
